//
//  BKArchiveTableViewCell.m
//  baokaodaxue
//
//  Created by dangyangyang on 15/5/27.
//  Copyright (c) 2015年 报考大学. All rights reserved.
//

#import "BKArchiveTableViewCell.h"

@interface BKArchiveTableViewCell ()
@property (nonatomic ,readonly) UIImageView *selectImageView;
@end


@implementation BKArchiveTableViewCell


- (id)awakeAfterUsingCoder:(NSCoder *)aDecoder{

    self = [super awakeAfterUsingCoder:aDecoder];
    if (self) {
        
    }
    return self;
}
- (void)awakeFromNib {
    // Initialization code
    
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];
    if (_selectImageView == nil) {
        _selectImageView = [[UIImageView alloc] initWithFrame:CGRectMake(self.frame.size.width-80, 10, 40, 20)];
        _selectImageView.image = [UIImage imageNamed:@"selectedArrow"];
        [self addSubview:_selectImageView];
        
    }
    _selectImageView.hidden = !selected;
    

}

@end
